﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.IO;

namespace MyWcfRestLib
{
    [DataContract]
    public struct ServiceInfo
    {
        [DataMember(Name = "max_message_size")]
        public int MaxMessageSize { get; set; }

        internal string BaseFilePath { get; set; }
        internal string TempFilePath { get { return Path.Combine(BaseFilePath, ".tmp"); } }
    }

    public struct ServiceConnectionInfo
    {
        public string ServiceName;
        public int ServicePort;
        public string HostName;
        public string[] Addresses;
    }
}
